package com.lkd.mapper;

import com.lkd.entity.Business;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BusinessMapper {

    @Select("select * from tb_business where id = #{id}")
    Business findById(Integer id);

    @Select("select * from tb_business")
    List<Business> findAll();
}
